package com.hzhr.iot.collect.util;

public class MathUtil {
	public static Boolean isInt(float f) {
		int i = (int) f;
		if (f - i == 0) {
			return true;
		}
		return false;
	}
	
	public static Boolean isInt(double d) {
		int i = (int) d;
		if (d - i == 0) {
			return true;
		}
		return false;
	}
}
